/*
 * 文件名：LogVO.java
 * 版权：Copyright 2006-2011 AsiaInfo Tech. Co. Ltd. All Rights Reserved. 
 * 描述： LogVO.java
 * 修改人：renong
 * 修改时间：2011-11-24
 * 修改内容：新增
 */
package com.fengxing.ams.pub.vo;

import com.fengxing.ams.pub.constants.ReltCode;
import com.fengxing.ams.pub.util.ErrorDescUtil;

/**
 * 日志查询TM_LOG_TRACK。
 * 
 * @author renong
 * @version CTMS V100R001 2011-11-24
 * @since CTMS V100R001C01
 */
public class LogVO {
	private String appId; // 操作用户

	private String appIp; // 操作IP

	private Long reltCode = ReltCode.SUCESS_CODE; // 操作结果

	private String reltDesc; // 操作错误

	private Long startTime; // 开始时间

	private Long endTime; // 结束时间

	private String logId; // 日志查询ID

	private Integer stayTime; // 持续时间

	private String moduleID; // 模块ID

	private String errMsg;

	private String transcationId;

	private String transcationTime;

	private String clientIP;

	private String countyCode;

	private String regionCode;

	private String methodName;

	public LogVO() {
		reltDesc = ErrorDescUtil.getDescByCode(reltCode);
	}

	public String getMethodName() {
		return methodName;
	}

	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}

	public String getTranscationId() {
		return transcationId;
	}

	public void setTranscationId(String transcationId) {
		this.transcationId = transcationId;
	}

	public String getTranscationTime() {
		return transcationTime;
	}

	public void setTranscationTime(String transcationTime) {
		this.transcationTime = transcationTime;
	}

	public String getClientIP() {
		return clientIP;
	}

	public void setClientIP(String clientIP) {
		this.clientIP = clientIP;
	}

	public String getCountyCode() {
		return countyCode;
	}

	public void setCountyCode(String countyCode) {
		this.countyCode = countyCode;
	}

	public String getRegionCode() {
		return regionCode;
	}

	public void setRegionCode(String regionCode) {
		this.regionCode = regionCode;
	}

	public String getErrMsg() {
		return errMsg;
	}

	public void setErrMsg(String errMsg) {
		this.errMsg = errMsg;
	}

	/**
	 * 获取logId
	 * 
	 * @return 返回logId
	 */
	public String getLogId() {
		return logId;
	}

	/**
	 * 设置logId
	 * 
	 * @param logId
	 *            要设置的logId
	 */
	public void setLogId(String logId) {
		this.logId = logId;
	}

	/**
	 * 获取stayTime 持续时间Integer
	 * 
	 * @return 返回stayTime
	 */
	public Integer getStayTime() {
		return stayTime;
	}

	/**
	 * 设置stayTime 持续时间Integer
	 * 
	 * @param stayTime
	 *            要设置的stayTime
	 */
	public void setStayTime(Integer stayTime) {
		this.stayTime = stayTime;
	}

	/**
	 * 获取moduleID 模块ID--Integer
	 * 
	 * @return 返回moduleID
	 */
	public String getModuleID() {
		return moduleID;
	}

	/**
	 * 设置moduleID 模块ID--Integer
	 * 
	 * @param moduleID
	 *            要设置的moduleID
	 */
	public void setModuleID(String moduleID) {
		this.moduleID = moduleID;
	}

	/**
	 * 获取reltCode操作结果String
	 * 
	 * @return 返回reltCode
	 */
	public Long getReltCode() {
		return reltCode;
	}

	/**
	 * 设置reltCode操作结果String
	 * 
	 * @param reltCode
	 *            要设置的reltCode
	 */
	public void setReltCode(Long reltCode) {
		this.reltCode = reltCode;
	}

	public String getAppId() {
		return appId;
	}

	public void setAppId(String appId) {
		this.appId = appId;
	}

	public String getAppIp() {
		return appIp;
	}

	public void setAppIp(String appIp) {
		this.appIp = appIp;
	}

	public String getReltDesc() {
		return reltDesc;
	}

	public void setReltDesc(String reltDesc) {
		this.reltDesc = reltDesc;
	}

	public Long getStartTime() {
		return startTime;
	}

	public void setStartTime(Long startTime) {
		this.startTime = startTime;
	}

	public Long getEndTime() {
		return endTime;
	}

	public void setEndTime(Long endTime) {
		this.endTime = endTime;
	}

}
